//
//  PayDetailTableViewCell.m
//  家校互通
//
//  Created by 李赛 on 15/6/17.
//  Copyright (c) 2015年 姬鑫宇. All rights reserved.
//

#import "PayDetailTableViewCell.h"

@implementation PayDetailTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setPayModel:(PaymentDetail *)payModel
{
    _headerLB.text=payModel.title;
    _contentLB.text=payModel.content;
    if (payModel.type==1) {
         _monneyLB.text=[NSString stringWithFormat:@"学杂费：%@元",@(payModel.fee)];
    }else if(payModel.type==2)
    {
         _monneyLB.text=[NSString stringWithFormat:@"活动报名费：%@元",@(payModel.fee)];
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
